Using cached security tokens in an online service

ABSTRACT

A security token service generates a security token for a user that is associated with a client and stores the full security token within a memory. The security token includes an identity claim that represents the identity of the generated security token. Instead of passing the entire security token back to the client, the identity claim is returned to the client. For each request the client makes to the service, the client passes the identity claim in the request instead of the full security token having all of the claims. The identity claim is much smaller then the full security token. When a computing device receives the identity claim within the request from the user, the identity claim is used to access the full security token that is stored in memory.

BACKGROUND

Many web-based systems use security tokens, such as Security Assertion Markup Language (SAML) tokens, to verify and authenticate users of the system. To obtain a security token, a user provides a credential to a security token service (STS). The STS attempts to authenticate an identity of the user based on the credential. If the STS successfully authenticates the identity of the user, the STS gathers claims from one or more claim providers. The claims can comprise various types of data. For example, the claims can comprise assertions about the identity of the user. After gathering the claims from the claim providers, the STS generates a security token and provides the security token to the user. After receiving the security token, the user provides the security token to the web service for each request it makes to the service. When the web service receives the security token, the web service uses the claims in the security token to determine whether or not the user is authorized to access a resource provided by the web service. These security tokens are expensive to create and can become quite large during an interactive session with the web-based system.

SUMMARY

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

A security token service generates a security token for a user that is associated with a client and stores the full security token within a memory, such as a cache. The generated security token includes an identity claim that represents the identity of the generated security token. Instead of passing the entire security token back to the client, the identity claim is returned to the client. The client treats the identity claim as if it were the actual full security token. For each request the client makes to the service, the client passes the identity claim in the request instead of the full security token having all of the claims. The identity claim is much smaller then the full security token. When a computing device receives the identity claim within the request from the user, the identity claim is used to access the full security token that is stored in memory. The accessed security token may then be used within the rest of the service as if it were supplied directly from the client.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a system that uses cached security tokens;

FIG. 2 illustrates an example security token caching system;

FIG. 3 shows an example system for a network including front-end and back-end servers for an online service that caches security tokens;

FIG. 4 shows a process for using cached security tokens in an online system;

FIG. 5 shows a process for using an identity claim to access a full security token; and

FIG. 6 shows an illustrative computer architecture.

DETAILED DESCRIPTION

Referring now to the drawings, in which like numerals represent like elements, various embodiment will be described.

Generally, program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types. Other computer system configurations may also be used, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like. Distributed computing environments may also be used where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

FIG. 1 illustrates a server system that use cached security tokens.

As illustrated, system 100 comprises server 120, network 107, clients 1-N, users 1-N, and identity claims for each of the users 1-N. Server 120 comprises Security Token Service (STS 145) and memory 165.

Security Token Service (STS) 145 is configured to provide a security token service for generating a security token for a user that is associated with a client. For example, STS is configured to generate a different security token for each of the users (User 1-N). After being generated, the entire generated security token is stored within memory 165, such as a cache. The generated security token created by STS 145 includes a special claim called an identity claim that represents the identity of the generated security token. Instead of the server 120 passing the entire security token back to a client, the identity claim is returned to the client. The client treats the identity claim as if it were the actual full security token. For each request the client makes to the service, the client passes the identity claim in the request instead of the full security token having all of the claims. The identity claim is much smaller then the full security token. For example, client 1 (101) passes back the Identity Claim for User 1 with each request, client 2 (102) passes back the Identity Claim for User 2 and client N (103) passes back the Identity Claim for User N, When server 120 receives the identity claim within the request from a user that has had an identity claim created (e.g. one of User 1-N), the identity claim is used by the server to access the full security token that is stored in memory 165. The accessed security token may then be used within the rest of the service as if it were supplied directly from the client. For example, more than one server 120 may be associated with a service. While STS 145 is shown within server 120, the functionality of STS 145 may also be provided on other computing devices within a network. For example, a network may have a one or more dedicated computing device that performs the services of STS 145.

Similarly, each network may store the full security tokens locally for a machine and/or in a global cache for access within the network. Generally, any application that passes a full security token to the client may instead use the functionality of STS 145 such that instead of passing an entire security token back and forth, the identity claim is passed in its place. More detail follows regarding the use of cached security tokens.

FIG. 2 illustrates an example security token caching system 200. As illustrated, system 200 comprises a server system 210. The server system 210 comprises one or more computing devices (e.g. server 215), STS 220, memory 230, resource(s) 225 that is coupled to client devices, such as client 204 and client 206. In some embodiments, the server system 210 comprises one or more computing devices of a type described below with regard to the example of FIG. 6. In various embodiments, various types of entities provide the server system 210. For example, a business organization, a governmental organization, a non-profit organization, or another type of entity can provide the server system 210. The server system may be configured as a cloud based system or it may be configured in other ways.

In some embodiments, client device 204 and client device 206 comprise one or more computing devices of the type described below with regard to the example of FIG. 6. Client device 204 and client device 206 may run web browser applications, workplace productivity applications, or other types of software applications that receive input and display output.

Network 207 enables the client device 204 and the client device 206 to communicate with server system 210. In various embodiments, network 207 can comprise various types of communications networks. For example, network 207 can comprise a wide area network, such as the Internet. In another example, the network 207 can comprise another type of network, such as a local-area network, a public-switched telephone network, or a cellular telephone network. The network 207 can comprise wired and/or wireless communications links.

Server system 210 provides access via network 207 to resources, such as resource(s) 225. In various embodiments, resource(s) 225 can comprise various types of resources. For example, resource 225 can be a word processor document, a spreadsheet document, a slide presentation document, a desktop publishing document, a note-taking document, a web page document, a computer programming source code file, an executable file, an archive file, an email mailbox, or another type of resource.

The server system 210 controls access to resource 225 on the basis of a security token and claims generated by STS 220. For example, client 204 may want to review or edit the content of a resource. In another example, client 206 may want to delete or move a resource. In yet another example, a client may want to execute a resource.

Before a client is able to access a resource from resource(s) 225, the server system 210 authenticates an identity of a user that is associated with a client device. If the server system 210 successfully authenticates the identity of the user using a security token service, such as STS 220, the server system 210 using an STS service generates a security token. Generally, a security token is a data structure comprising one or more claims. For example, the security token can contain a claim indicating that user 205 works in the accounting department of a firm. In another example, the security token can contain a claim indicating that the user 205 is a client of a firm. More than one security token may be generated for a user. For example, a security token may be issued for a user that relates to their job and another security token may be issued for a user that relates to them individually.

According to an embodiment, STS 220 is configured to generate SAML tokens that comprise one or more claims. A claim comprises an assertion by an entity. The claim may relate to anything. For example, a claim may comprise an assertion of a name, a job title, a membership in a group, an age, an address, and the like. A claim may also comprise assertions of things that are not tied to users' identities. For instance, a claim can comprise an assertion regarding financial data (e.g., the current price of stock XYZ is $5.52).

When user 205 connects to server system 210 the user may provide identifying information, such as submitting credentials, an identifier, a security token, and the like. STS 220 receives this identifying information and creates a security token, such as a SAML token that includes one or more claims. The security token may be generated according to different standards, such as SAML, SAML 1.0, 1.1, 2.0, or other similar standards. One of the claims that STS 220 creates is an identity claim that is used to represent the identity of the full security token that is generated by STS 220. The identity claim uniquely identifies the full security token and may be created cryptographically such that the identity claim may be verified. The identity claim is much smaller as compared to the full security token. For example, an identity claim may be 100-400 bytes whereas a full security token may be over 100K of data.

According to embodiments, the format of the identity claim follows the following formats: (1) UserIdentity+“,”+ExpirationTime+“,”+Base64(RSA-SHA2-256 signature of (UserIdentity+“,”+ExpirationTime)); or (2) UserIdentity+“,”+ExpirationTime+“,”+Base64(RSA-SHA2-256 signature of (UserIdentity+“,”+ExpirationTime)),AudienceURI. The UserIdentity identifies the user. The ExpirationTime identifies a time period the identity claim is valid. According to an embodiment, the expiration time is specified in. The AudienceURI is a Uniform Resource Identifier (URI) path that is used to establish the context of the tenancy for this value. Leaving the Audience URI out of the “identity claim” enables the same value to be used across multiple AudienceURIs. The key used for the RSA-SHA2-256 encryption is the private key of the token issuing authority, such as STS 220. It can be validated by itself as well as the service process (which has access to its public key but not its private key). Other formats may also be used.

The full security token that is generated by STS 220 is stored in a memory, such as 230. STS 220, or some other computing device within server system 210, may store the generated security token in memory 230. The memory may be configured in different manners. For example, the memory 230 may be a cache, a distributed caching service (e.g. MICROSOFT's Windows Server AppFabric Caching, Memcached, and the like), RAM, a data store and the like. According to an embodiment, the claims of the security token are stored in memory 230 in a binary format. Storing the claims in binary format saves the extra step of having to parse XML that is related to the token that would be performed if the full security token was passed in by the client.

After STS 220 generates the full security token including the identity claim, STS 220 returns the identity claim to the client device that is associated with the user (e.g. client 204 for user 205). The client device uses the identity claim just as they would use the full security token. The user may not even be aware that they did not receive the full security token. Since the identity claim is much smaller then the full security token, there is much less data to pass back and forth between server system 210 and the clients for each request.

After the client device 204 receives the identity claim that identifies the security token that is stored in memory 230, the client device 204 sends the identity claim back to the server system 210 along with every normal request to that server. The access request comprises a request to access the resource 225. When the server system 210 receives the identity claim and the access request, the server system 210 determines whether the user 205 is authorized to access the resource 225. The server accesses the received identify claim and looks up the full security token in memory 230. Additional context information, such as tenancy information, may be used in looking up the full security token such that the correct claims are returned. For instance, in a multi-tenancy server system, the same user might have access to multiple tenancies using the same identity, but has a different set of full-claims that represent their permissions to that specific tenancy.

If the full token is retrieved from the cache, the security token is used transparently by the rest of the system as if the full token were supplied directly from the client. According to another embodiment, the identity claim or the full token may be sent to the other servers in the system when they have access to memory 230.

If the full token is not found in the cache, the server process (e.g. server 215) makes a call to the security token service 220. Instead of passing a normal identity, the server process passes the special “identity claim” as if it were a password. STS 220 validates this “password” cryptographically as originating from itself and as not expired and if valid, does the normal process of issuing a new security token that is placed in memory 230 for future requests.

The claims in the full security token are used to determine if the user satisfies a security policy for the resource 112. For example, a security policy for the resource 225 can specify that only members of a certain group are allowed to access the resource 225. In this example, the server system 210 can determine that the user 205 is authorized to access the resource 225 when the security token includes a claim that indicates that the user 205 is a member of the certain group.

When an identity claim is no longer valid (e.g. timed out, user permissions changed, and the like), the associated security token may be removed from any memory in which it is stored. For example, when the security token is stored in a distributed cache, the security token may be removed from a single memory. When the security token is stored on many different machines, each machine may remove the security token that is associated with the security token. Since the token is no longer in the cache, the next time it is needed it will be reissued, causing the underlying values (such as user permissions) to be recalculated.

FIG. 3 shows an example system 300 for a network including front-end and back-end servers for an online service that caches security tokens. The example system 300 includes clients 302 and 304, network 306, load balancer 308, web request routers 309, security token service (STS) 305, caching service 306, WFE servers 310, 312, 314, back-end servers 316-319, and optional load balancer 320. Greater or fewer clients, WFEs, back-end servers, load balancers and networks can be used. Additionally, some of the functionality provided by the components in system 300 may be performed by other components. For example, some load balancing may be performed in the WFEs.

In example embodiments, clients 302 and 304 are computing devices, such as desktop computers, laptop computers, terminal computers, personal data assistants, or cellular telephone devices. Clients 302 and 304 can include input/output devices, a central processing unit (“CPU”), a data storage device, and a network device. In the present application, the terms client and client computer are used interchangeably.

WFEs 310, 312 and 314 are accessible to clients 302 and 304 via load balancer 308 and web request routers 309 through network 306. As discussed, the servers may be configured in farms. Back-end server 316 is accessible to WFEs 310, 312 and 314. Load balancer 308 is a dedicated network device and/or one or more server computers. Load balancer 308, web request routers 309, load balancer 320, WFEs 310, 312 and 314 and back-end server 316 can include input/output devices, a central processing unit (“CPU”), a data storage device, and a network device. In example embodiments, network 306 is the Internet and clients 302 and 304 can access WFEs 310, 312 and 314 and resources connected to WFEs 310, 312 and 314 remotely.

In an example embodiment, system 300 is an online, browser-based cloud system. An example of cloud based system is Microsoft Sharepoint® Online from Microsoft Corporation of Redmond, Wash. In system 300, one or more of the back-end servers 316-319 are SQL servers, for example SQL Server from Microsoft Corporation of Redmond, Wash.

WFEs 310, 312 and 314 provide an interface between clients 302 and 304 and back-end servers 316-319. The load balancers 308, 320 direct requests from clients 302 and 304 to web request routers and from WFEs to back-end servers 316-319. Web request routers 309 direct requests to WFEs 310, 312 and 314 and use factors such as WFE utilization, the number of connections to a WFE and overall WFE performance to determine which WFE server receives a client request. Similarly, the load balancer 320 uses factors such as back-end server utilization, the number of connections to a server and overall performance to determine which back-end server receives a request. Web request routers 309 may be used to offload some of the processing from load balancer 308. For example, load balancer 308 may operate at a lower TCP/IP layer (e.g. layer 4) such that it may handle more requests. Web request routers 309 provide a scalable request router that may operate at a higher TCP/IP layer (e.g. layer 7). The web request routers may use application specific logic for routing the requests. For example, the requests may be routed based on a document identifier and/or user information that is included within the received request.

An example of a client request may be to access a document stored on one of the back-end servers, to edit a document stored on a back-end server (e.g. 316-319) or to store a document on back-end server. When load balancer 308 receives a client request over network 306, load balancer 308 directs the request to one of the available web request routers 309. The web request router 309 determines which one of WFE server 310, 312 and 314 receives the client request. Similarly, load balancer 320 determines which one of the back-end servers 316-319 receive a request from the WFE servers. The back-end servers may be configured to store data for one or more tenants (i.e. customer).

STS 305 is configured to generate identity claims and security tokens. Generally, STS 305 generates a full security token and an identity claim that is used to identify the full security token that is stored in a memory, such as caching service 306. When a user requests access to a resource, their identity may be verified before allowing access to the resource. Instead of passing the entire security token back and forth between users and the online system, the identity claim is passed back and forth in place of the full security token. While STS 305 is shown separate from the WFEs and the other servers, the functionality of STS 305 may be included in one or more of the servers. For example, each WFE may include an STS. Similarly, one or more servers may also store their own cache of full security tokens that relate to the users they provide services for. In the embodiment, illustrated, the servers providing the resources to clients 302 and 304 use a distributed caching service 306 that allows them to access the full security token using the provided identity claim. According to another embodiment, the full security token may be obtained when a request is initially received by load balancer 308 and then the full security token may be transferred to other servers in network 306.

FIG. 4 shows a process for using cached security tokens in an online system.

When reading the discussion of the routines presented herein, it should be appreciated that the logical operations of various embodiments are implemented (1) as a sequence of computer implemented acts or program modules running on a computing system and/or (2) as interconnected machine logic circuits or circuit modules within the computing system. The implementation is a matter of choice dependent on the performance requirements of the computing system implementing the invention. Accordingly, the logical operations illustrated and making up the embodiments described herein are referred to variously as operations, structural devices, acts or modules. These operations, structural devices, acts and modules may be implemented in software, in firmware, in special purpose digital logic, and any combination thereof.

After a start operation, the process 400 flows to operation 410, where a user connects to a service, such an online cloud based service. The service authenticates an identity of a user by receiving identifying credentials such as an ID, password, security token and the like.

Moving to operation 420, a full security token is generated for the user that includes an identity claim that identifies the full security token. For example, the security token may be a SAML token. The identity claim uniquely identifies the full security token and may be created cryptographically such that the identity claim may be verified. The identity claim is much smaller as compared to the full security token. For example, an identity claim may be specified in bytes whereas a full security token and claims may be specified in hundreds of Kbytes.

Flowing to operation 430, the full security token is stored in a memory. The memory may be local to the computing device and/or globally stored such that the full security token is available to one or more computing devices providing the online service. For example, the memory may be a distributed caching service, such as MICROSOFT's Windows Server AppFabric Caching, Memcached, and the like. Each server handling resources may also include functionality for caching the full security token and/or generating the full security token and the identity claim.

Transitioning to operation 440, the identity claim is provided to the client instead of providing the full security token to the client. According to an embodiment, the identity claim is returned in a cookie in the same manner as a SAML token is provided to a client.

The process then moves to an end block and returns to processing other actions.

FIG. 5 shows a process for using an identity claim to access a full security token.

After a start operation, the process flows to operation 510 where a request is received. The request may be for a resource that are stored on one or more of the machines in the network. A computing device that receives the request may obtain the identity claim from the request. According to another embodiment, the request may be forwarded to another computing device that obtains the identity claim from the request.

Flowing to operation 520, the full security token is obtained from a memory using the received identity claim. Generally, the identity claim is used to look up the full security token in a memory that is associated with the computing device receiving the request. As discussed, the memory may be local to the computing device and/or at some other location within the network. For example, the full security token may be obtained from a distributed caching service that is utilized by an online service.

Flowing to operation 530, the full security token is used in determining the rights of the user with regard to the requested resource. The full security token may be passed to other computing devices to obtain one or more resources just as if the full token was passed from the client requesting the resource. According to another embodiment, the identity claim is passed to other computing devices that then use the identity claim to access the full security token. The process then moves to an end block and returns to processing other actions.

Referring now to FIG. 6, an illustrative computer architecture for a computer 600 utilized in the various embodiments will be described. The computer architecture shown in FIG. 6 may be configured as a server, a desktop or mobile computer and includes a central processing unit 5 (“CPU”), a system memory 7, including a random access memory 9 (“RAM”) and a read-only memory (“ROM”) 10, and a system bus 12 that couples the memory to the central processing unit (“CPU”) 5.

A basic input/output system containing the basic routines that help to transfer information between elements within the computer, such as during startup, is stored in the ROM 10. The computer 500 further includes a mass storage device 14 for storing an operating system 16, application programs 10, data store 24, files, and a service program 26 relating to execution of and interaction with the an online system.

The mass storage device 14 is connected to the CPU 5 through a mass storage controller (not shown) connected to the bus 12. The mass storage device 14 and its associated computer-readable media provide non-volatile storage for the computer 500. Although the description of computer-readable media contained herein refers to a mass storage device, such as a hard disk or CD-ROM drive, the computer-readable media can be any available media that can be accessed by the computer 100.

By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, Erasable Programmable Read Only Memory (“EPROM”), Electrically Erasable Programmable Read Only Memory (“EEPROM”), flash memory or other solid state memory technology, CD-ROM, digital versatile disks (“DVD”), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer 600.

According to various embodiments, computer 600 may operate in a networked environment using logical connections to remote computers through a network 18, such as the Internet. The computer 600 may connect to the network 18 through a network interface unit 20 connected to the bus 12. The network connection may be wireless and/or wired. The network interface unit 20 may also be utilized to connect to other types of networks and remote computer systems. The computer 600 may also include an input/output controller 22 for receiving and processing input from a number of other devices, including a keyboard, mouse, or electronic stylus (not shown in FIG. 6). Similarly, an input/output controller 22 may provide output to a display screen 28, a printer, or other type of output device.

As mentioned briefly above, a number of program modules and data files may be stored in the mass storage device 14 and RAM 9 of the computer 600, including an operating system 16 suitable for controlling the operation of a networked computer, such as the WINDOWS® operating systems from MICROSOFT® CORPORATION of Redmond, Wash. The mass storage device 14 and RAM 9 may also store one or more program modules. In particular, the mass storage device 14 and the RAM 9 may store one or more application programs, such as services program 26, that perform tasks relating to a system.

The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended. 

1. A method for using cached security tokens in an online service, comprising: receiving a request over a network from a client for a resource of the online service; wherein the request comprises an identity claim that identifies a security token that is stored in a location that is separate from the request; using the identity claim in the request to access the security token that is stored in a memory of the online service; and using the accessed security token to determine when to provide the resource to the client.
 2. The method of claim 1, further comprising generating a security token for the client and storing the generated security token in the memory; wherein the generated security token comprises claims, wherein at least one of the claims generated is an identity claim that is used in identifying the generated security token.
 3. The method of claim 1, wherein storing the generated security token in the memory comprises storing the claims of the security token in binary form in the memory.
 4. The method of claim 2, further comprising when the security claim is not found in the memory using the identity claim sending the identity claim to a token issuing authority to generate another security token that is placed in the memory for future requests.
 5. The method of claim 1, wherein the memory is at least one of: a cache and a distributed cache.
 6. The method of claim 1, wherein the security token is a Security Assertion Markup Language (SAML) token.
 7. The method of claim 1, wherein the identity claim comprises UserIdentity+“,”+ExpirationTime+“,”+Base64(RSA-SHA2-256 signature of (UserIdentity+“,”+ExpirationTime)).
 8. The method of claim 1, wherein the identity claim comprises UserIdentity+“,”+ExpirationTime+“,”+Base64(RSA-SHA2-256 signature of (UserIdentity+“,”+ExpirationTime)),AudienceURI.
 9. The method of claim 1, further comprising revoking the identity claim by deleting the associated security token from each memory in which it is stored.
 10. A computer-readable storage medium having computer-executable instructions for using cached security tokens for users, comprising: receiving a request from a client for a resource that is located within a network; wherein the request comprises an identity claim that identifies a Security Assertion Markup Language (SAML) token that is stored in a memory that is within the network; accessing the SAML token using the identity claim that is contained within the received request; and using the accessed SAML token to determine when to provide the resource to the client.
 11. The computer-readable storage medium of claim 10, further comprising generating a SAML token for the client and storing the generated SAML token in the memory; wherein the generated SAML token comprises claims, wherein at least one of the claims generated is an identity claim that is used in identifying the generated SAML token.
 12. The computer-readable storage medium of claim 10, wherein storing the generated SAML token in the memory comprises storing the claims of the SAML token in binary form in the memory.
 13. The computer-readable storage medium of claim 11, further comprising when the security claim is not found in the memory using the identity claim sending the identity claim to a token issuing authority to generate another security token that is placed in the memory for future requests.
 14. The computer-readable storage medium of claim 10, wherein the memory is at least one of: a cache and a distributed cache that is within the network.
 15. The computer-readable storage medium of claim 10, wherein the identity claim comprises one of: UserIdentity+“,”+ExpirationTime+“,”+Base64(RSA-SHA2-256 signature of (UserIdentity+“,”+ExpirationTime)) and UserIdentity+“,”+ExpirationTime+“,”+Base64(RSA-SHA2-256 signature of (UserIdentity+“,”+ExpirationTime)),AudienceURI.
 16. The computer-readable storage medium of claim 10, further comprising revoking the identity claim by deleting the associated SAML token from each memory in which it is stored.
 17. A system for routing requests in an online service, comprising: a processor and a computer-readable medium; an operating environment stored on the computer-readable medium and executing on the processor; a security token service that provides a security token service that is used to generate security tokens for users in a network, wherein the generated security tokens comprise claims, wherein at least one of the claims generated is an identity claim that is used in identifying the generated security token; wherein the identity claim is returned to the client instead of returning the generated security token; wherein at least some of the computing devices in the online service are configured to perform actions, comprising: receiving a request from a client for a resource that is located within the network; wherein the request comprises an identity claim that identifies a security token that is stored in a memory that is within the network; accessing the security token within a cache within the network using the identity claim that is contained within the received request; and using the accessed security token to determine when to provide the resource to the client.
 18. The system of claim 17, wherein accessing the security token using the identity claim that is contained within the received request comprises determining a tenancy that is associated with the client and accessing the security token that is associated with the determined tenancy for the client.
 19. The system of claim 17, wherein the identity claim comprises one of: UserIdentity+“,”+ExpirationTime+“,”+Base64(RSA-SHA2-256 signature of (UserIdentity+“,”+ExpirationTime)) and UserIdentity+“,”+ExpirationTime+“,”+Base64(RSA-SHA2-256 signature of (UserIdentity+“,”+ExpirationTime)),AudienceURI.
 20. The system of claim 17, further comprising revoking the identity claim by deleting the associated security token from each memory in which it is stored. 